{"version":3,"sources":["core_popup.js"],"names":["window","BX","PopupWindowManager","_popups","_currentPopup","create","popupId","bindElement","params","id","type","isPlainObject","isNotEmptyString","Error","popupWindow","this","getPopupById","PopupWindow","addCustomEvent","delegate","onPopupShow","onPopupClose","onPopupWindowIsInitialized","uniquePopupId","onPopupDestroy","push","close","index","_getPopupIndex","util","deleteFromArray","getCurrentPopup","isPopupExists","isAnyPopupShown","i","length","isShown","getId","getMaxZIndex","zIndex","ii","Math","max","proxy","compatibleMode","isBoolean","getRandomString","toLowerCase","onCustomEvent","isNumber","parseInt","zIndexAbsolute","buttons","isArray","offsetTop","getOption","offsetLeft","firstShow","bordersWidth","bindElementPos","closeIcon","resizeIcon","angle","overlay","titleBar","bindOptions","autoHide","autoHideHandler","isFunction","handleAutoHide","bind","handleOverlayClick","isAutoHideBinded","closeByEsc","isCloseByEscBinded","cacheable","destroyed","width","height","minWidth","minHeight","maxWidth","maxHeight","padding","contentPadding","background","contentBackground","appendContainer","document","body","dragOptions","cursor","callback","DoNothing","eventName","dragged","dragPageX","dragPageY","animationShowClassName","animationCloseClassName","animationCloseEventType","handleDocumentKeyUp","handleResizeWindow","events","popupClassName","contentColor","className","darkMode","popupContainer","createElement","titleBarID","props","style","click","handleCloseIconClick","browser","IsIE","adjust","attrs","hidefocus","contentContainer","getZindex","position","display","top","left","children","appendChild","buttonsContainer","setAngle","setOverlay","setOffset","setBindElement","setTitleBar","setContent","content","setButtons","setWidth","setHeight","setMinWidth","setMinHeight","setMaxWidth","setMaxHeight","setResizeMode","resizable","setPadding","setContentPadding","setBackground","setContentBackground","setAnimation","animation","setCacheable","contentNoPaddings","noAllPaddings","bindOnResize","prototype","isCompatibleMode","isElementNode","cleanNode","hasParent","isDomNode","parentNode","isString","innerHTML","remove","newButtons","button","PopupWindowButton","render","UI","Button","setContext","getButtons","getButton","clientX","clientY","fixEventPageXY","pageX","pageY","bottom","getBindElementPos","pos","windowSize","GetWindowInnerSize","windowScroll","GetWindowScrollPos","popupWidth","getPopupContainer","offsetWidth","popupHeight","offsetHeight","forceTop","innerWidth","scrollLeft","innerHeight","scrollTop","element","angleMinLeft","defaultOffset","offset","angleLeftOffset","defaultOptions","in_array","removeClass","addClass","minOffset","maxOffset","min","marginLeft","removeProperty","getWidth","setWidthProperty","getHeight","setHeightProperty","getMinWidth","getMinHeight","getMaxWidth","getMaxHeight","property","indexOf","getResizableContainer","getContentContainer","overflowX","classList","add","getTitleContainer","IsIE11","getCssName","hasOtherProps","some","prop","getPropertyValue","overflowY","getPadding","getContentPadding","getBackground","getContentBackground","isDestroyed","isCacheable","options","mousedown","onResizeMouseDown","onTitleMouseDown","event","_startDrag","move","_resize","resizeContentPos","resizeContentOffset","offsetX","offsetY","scrollWidth","GetWindowScrollSize","isTopAngle","isBottomAngle","isTopOrBottomAngle","getAngleHeight","text","draggable","setClosingByEsc","enable","bindClosingByEsc","unbindClosingByEsc","unbind","setAutoHide","bindAutoHide","unbindAutoHide","cancelBubble","addEventListener","removeEventListener","_tryCloseByEvent","target","contains","tryCloseByEvent","setTimeout","stopPropagation","adjustOverlayZindex","resizeOverlay","hasOwnProperty","opacity","IsIE9","filter","parseFloat","toPrecision","backgroundColor","removeOverlay","overlayTimeout","clearInterval","hideOverlay","showOverlay","setInterval","scrollHeight","documentElement","clientHeight","show","adjustPosition","animateOpening","handleTransitionEnd","animateClosing","destroy","toggle","isLeftButton","showClassName","closeClassName","closeAnimationType","animationName","keyCode","_checkEscPressed","unbindAll","_moveDrag","_stopDrag","enterFullScreen","fullscreenStatus","cancelFullScreen","mozCancelFullScreen","webkitCancelFullScreen","IsChrome","IsSafari","webkitRequestFullScreen","ALLOW_KEYBOARD_INPUT","fullscreenBind","eventFullScreen","IsFirefox","mozRequestFullScreen","forceBindPosition","angleTopOffset","forceLeft","bindLeft","restrict","scrollSize","floatWidth","floatHeight","setCapture","ondrag","False","onselectstart","MozUserSelect","PreventDefault","releaseCapture","positionTopXOffset","popupZindex","popupOverlayZindex","angleMaxLeft","angleMinRight","angleMaxRight","angleMinBottom","angleMaxBottom","angleMinTop","angleMaxTop","setOptions","option","defaultValue","contextEvents","buttonNode","getName","name","getContainer","setName","setClassName","addClassName","removeClassName","PopupWindowButtonLink","superclass","constructor","apply","arguments","extend","PopupWindowCustomButton","PopupMenu","Data","currentItem","menuId","menuItems","PopupMenuWindow","getCurrentMenu","getMenuById","popupMenuWindow","menu","items","itemsContainer","parentMenuWindow","parentMenuItem","addMenuItemInternal","layout","menuContainer","__createPopup","domItems","item","itemLayout","getLayout","defaults","mergeEx","onMenuWindowClose","onMenuWindowDestroy","getPopupWindow","closeSubMenu","destroySubMenu","containsTarget","el","getMenuItems","getSubMenu","setParentMenuWindow","getParentMenuWindow","getRootMenuWindow","root","parent","setParentMenuItem","PopupMenuItem","getParentMenuItem","addMenuItem","menuItemJson","targetItemId","menuItem","targetItem","getMenuItem","targetLayout","insertBefore","delimiter","menuShowDelay","setMenuWindow","getMenuItemPosition","insertIntoArray","removeMenuItem","itemId","menuWindow","getMenuWindow","removeChild","title","href","dataset","subMenuOffsetX","_items","disabled","onclick","subMenuWindow","html","hasSubMenu","join","onItemClick","isDisabled","disable","onItemMouseEnter","onItemMouseLeave","getTextContainer","getText","setText","call","clearSubMenuTimeout","subMenuTimeout","showSubMenu","closeSiblings","clearTimeout","addSubMenu","closeChildren","adjustSubMenu","rootMenuWindow","handleSubMenuDestroy","siblings","destroyChildren","itemRect","getBoundingClientRect","getPopupPadding","angleOffset","anglePosition","popupBottom","clientWidth","exceeded","roundOffset","ceil","popupPadding","getMenuShowDelay","BXInputPopup","round","random","handler","values","pInput","input","bValues","openTitle","noMRclassName","emptyClassName","_this","curInd","onfocus","e","value","ShowPopup","onblur","bShowed","ClosePopup","OnChange","oPopup","pRow","pWnd","l","NAME","mouseover","mouseout","ind","substr","DESCRIPTION","CLASS_NAME","URL","lightShadow","select","bClosePopup","val","isNaN","Set","bOnChange","Get","ID","GetIndex","Deactivate","bDeactivate","oEC","bUseMR","_escCallbackIndex","_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